package com.views
{
	import feathers.controls.Button;
	
	import starling.display.Sprite;
	
	public class UITop extends Sprite
	{
		public const NAME : String = "UITop";
		public var filebtn : Button;
		
		public function UITop()
		{
			super();
			
			var top : Button = new Button();
			top.width = 1024;
			top.height = 25;
			top.isEnabled = false;
			this.addChild(top);
			
			filebtn = createbtn("File");
			filebtn.x = 0;
			filebtn.y = 0;
			this.addChild(filebtn);
			
		}
		
		private function createbtn(label : String) : Button
		{
			var btn : Button = new Button();
			btn.width = 60;
			btn.height = 25;
			btn.label = label;
			return btn;
		}
		
	}
}